<table>
<tr>
    <th>Name</th>    
    <th>Auteur</th>
    <th>Statut</th>
    <th>Date Creation</th>    
    <th>&nbsp;</th>
</tr>
<?php foreach($this->newsletters as $newletter) : ?>
<?php if ($newletter->dateArchivage==null){?>
<tr>
    <td><?php echo $this->escape($newletter->name	);?></td>
    <td><?php echo $this->escape($newletter->auteur);?></td>
    <td><?php echo $this->escape($newletter->statut);?></td>
    <td><?php echo $this->escape($newletter->dateCreation);?></td>        
    <td>
        <a href="<?php echo $this->url(array('controller'=>'newsletter', 
            'action'=>'edit', 'id'=>$newletter->id));?>">Edit</a>
        <a href="<?php echo $this->url(array('controller'=>'newsletter', 
            'action'=>'delete', 'id'=>$newletter->id));?>">Desactiver</a>
    </td>
</tr>
<?php }?>
<?php endforeach; ?>
</table>
<br>
